#ifndef __TCP_CLIENT_H__
#define __TCP_CLIENT_H__

#include <string.h>
#include <sys/param.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_netif.h"
#include "wifi_connect.h"

#include "lwip/err.h"
#include "lwip/sockets.h"
#include "lwip/sys.h"
#include <lwip/netdb.h>
#include "cJSON.h"

#define CONFIG_EXAMPLE_IPV4

#ifdef CONFIG_EXAMPLE_IPV4
#define HOST_IP_ADDR "116.62.81.138"
#else
#define HOST_IP_ADDR CONFIG_EXAMPLE_IPV6_ADDR
#endif

#define PORT 80
#define LANGUAGE    ENG
#define ENG         "en"
#define CHINESE     "zh-Hans"
#define CITY        "shanghai"
#define PRIVATE_KEY "SyhDGeE8eAbJlCz6v"
void tcp_client_task(void *pvParameters);
#endif